Package com.netscape.cmstools
Class CRMFPopClient
java.lang.Object
com.netscape.cmstools.CRMFPopClient
A command-line utility used to generate a Certificate Request Message
Format (CRMF) request with proof of possesion (POP).
IMPORTANT: The transport certificate file needs to be created to contain the transport certificate in its base64 encoded format.
- Version:
- $Revision$, $Date$
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.mozilla.jss.asn1.OCTET_STRING
static org.apache.commons.cli.Options
boolean
static void
static void
printError
(String message) static void
void
processResponse
(org.apache.http.HttpResponse response) void
setUseOAEP
(boolean useOAEP) void
setVerbose
(boolean verbose) void
boolean
useOAEP()
-
Field Details
-
verbose
public boolean verbose
-
-
Constructor Details
-
CRMFPopClient
public CRMFPopClient()
-
-
Method Details
-
createOptions
public static org.apache.commons.cli.Options createOptions() -
printHelp
public static void printHelp() -
printError
-
main
- Throws:
Exception
-
setVerbose
public void setVerbose(boolean verbose) -
setUseOAEP
public void setUseOAEP(boolean useOAEP) -
useOAEP
public boolean useOAEP() -
isVerbose
public boolean isVerbose() -
createIDPOPLinkWitness
- Throws:
Exception
-
submitRequest
public void submitRequest(String request, String hostPort, String username, String profileID, String requestor) throws Exception - Throws:
Exception
-
processResponse
- Throws:
Exception
-